home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / bash_completion.d / snownews < prev    next >
Encoding:
Text File  |  2010-11-16  |  506 b   |  26 lines

  1. # snownews(1) completion
  2.  
  3. have snownews &&
  4. _snownews()
  5. {
  6.     local cur
  7.  
  8.     COMPREPLY=()
  9.     _get_comp_words_by_ref cur
  10.  
  11.     if [[ "$cur" == -* ]]; then
  12.         # return list of available options
  13.         COMPREPLY=( $( compgen -W '--update --help --version \
  14.             --disable-versioncheck -u -h -V' -- "$cur"))
  15.     fi
  16. } &&
  17. complete -F _snownews snownews
  18.  
  19. # Local variables:
  20. # mode: shell-script
  21. # sh-basic-offset: 4
  22. # sh-indent-comment: t
  23. # indent-tabs-mode: nil
  24. # End:
  25. # ex: ts=4 sw=4 et filetype=sh
  26.